﻿using MediatR;

namespace Common.Caching;

/// <summary>
/// 缓存失效
/// </summary>
/// <typeparam name="TResponse"></typeparam>
public interface ICacheInvalidatorRequest<TResponse> : IRequest<TResponse>
{
    string CacheKey { get => String.Empty; }
    CancellationTokenSource? SharedExpiryTokenSource { get; }
}
